package com.jx.mst.user;

//import org.mybatis.spring.annotation.MapperScan;
//import org.mybatis.spring.annotation.MapperScan;
import com.baomidou.mybatisplus.autoconfigure.DdlApplicationRunner;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@MapperScan("com.jx.mst.user.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class JxMstServiceUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(JxMstServiceUserApplication.class, args);
    }
    @Bean
    public DdlApplicationRunner ddlApplicationRunner() {
        return new DdlApplicationRunner(null); // 或使用适当的构造函数/初始化方法
    }
}
